]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
network: Fix an accidental copy-paste error
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 2 May 2012 20:29:51 +0000 (16:29 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 2 May 2012 20:31:29 +0000 (16:31 -0400)
Logic swap accidentally introduced in commit 723a1c843.

https://bugzilla.gnome.org/show_bug.cgi?id=672272

js/ui/status/network.js

index f1ba1194fcdc72021b118c9950852e4b4693ca1b..dedd4a49941ad77bd45de966e1ea10bee67e3b1c 100644 (file)
@@ -707,7 +707,7 @@ const NMDeviceWired = new Lang.Class({
         // the device
         // we can do it here because addConnection and removeConnection
         // both call _createSection at some point
-        this.section.actor.visible = this._connections.length <= 1;
+        this.section.actor.visible = this._connections.length > 1;
     },
 
     _createAutomaticConnection: function() {